package ru.ifmo;

import lejos.hardware.BrickFinder;
import lejos.hardware.ev3.EV3;
import lejos.hardware.Keys;


public class Main {

    public static void main(String[] args) throws InterruptedException {
        EV3 ev3 = (EV3) BrickFinder.getLocal();
        LegoRobot robot = new LegoRobot(ev3);

        Keys keys = ev3.getKeys();
        keys.waitForAnyPress();
        robot.exitScenario();
    }
}
